import request from "./http2";


export function getLike(){
    return request({
        url:"/cart.php",
        method:"get",
        params:{
            "action": "cart_recommend",
            "productIds": "25163653",
            "img_size": "h"
        }
    })
}


export function getBooks(id){
    return request({
        url:"/h5ajax.php",
        method:"get",
        params:{
            "action": "get_product_info",
            "pid": id,
            "city_id": "5",
            "province_id": "144",
            "district_id": "518",
            "town_id": "51801"
        }
    })
}